﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="expires" content="-1" />
	<link rel="stylesheet" type="text/css" href="/site_media/css/style.css" />
	<title>Labmin - dane administratora</title>
</head>
<body>
	<div id="wrap">
		{% include "header.html" %}
		{% if request.session.user %}
			<div id="content-wrap">
				{% include "sidebar.html" %}
				<div id="main"> 
				<form action="/delete_admin/{{admin.pk}}" method="get" style="margin: 0px">
					<div class="box" style="padding: 10px;">
						<div class="list_box" style="display:none">
							<input type="checkbox" name="list" value="{{ student.pk }}"  checked />
						</div>
						<div>
                            <table border="0">
                                <tr align="left">
                                    <td>login:</td>
                                    <td><b>{{ admin.login }}</b></td>
                                </tr>
                                <tr align="left">
                                    <td>imię</td>
                                    <td>{{ admin.first_name }}</td>
                                </tr>
                                <tr align="left">
                                    <td>nazwisko:</td>
                                    <td>{{ admin.last_name }}</td>
                                </tr>
                                <tr align="left">
                                    <td>e-mail:</td>
                                    <td>{{ admin.email }}</td>
                                </tr>
								{% if admin.is_superadmin %}
								<tr align="left">
                                    <td>Superadministrator</td>
                                </tr>
								{% endif %}
                            </table>
						</div>
					</div>
					<div class="box" style="padding: 10px;">
						<input type="submit" value="Usuń"/>
					</div>
				</form>
				</div>
			</div>
		{%endif%}
	</div>
	{% include "footer.html" %}
</body>
</html>
